package cn.kgc.rbac.service;

import cn.kgc.rbac.common.ResponseResult;
import cn.kgc.rbac.dto.RolePageDTO;
import cn.kgc.rbac.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface RoleService extends IService<Role> {

    ResponseResult selectByPage(RolePageDTO rolePageDTO);

    ResponseResult selectPermissionByRoleId(Integer roleId);

    ResponseResult addRolePermission(Integer roleId, String permissionIds);

    ResponseResult deleteById(String ids);
}
